﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-13 12:49:27
// 负责人：lvsc
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;
using OF.Component.DTO;

namespace OF.Component.IDAL
{
	
	/// <summary>
	///办事指南 数据访问层接口  
	/// </summary>
	internal partial interface IGuidance
	{
		
         /// <summary>
    	 /// 根据断言条件获取单个办事指南
    	 /// </summary>
    	 GuidanceInfo QuerySingle(Expression<Func<GuidanceInfo, bool>> predicate);
         
         /// <summary>
    	 /// 根据断言条件获获取办事指南列表
    	 /// </summary>
	     IList<GuidanceInfo> QueryList(Expression<Func<GuidanceInfo, bool>> predicate);


        /// <summary>
        /// 根据城市和业务获取办事指南
        /// </summary>
        /// <param name="citId"></param>
        /// <param name="bizTypeId"></param>
        /// <returns></returns>
        GuidanceInfo GetGuidances(int citId, int bizTypeId);

        /// <summary>
        /// 查询分页列表
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        IList<GuidanceDto> SearchList(GuidanceCondition condition);

    } 

	
}